<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: wheels::orderedTimer::stTimerItem结构体 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></li><li class="navelem"><a class="el" href="../../d4/ded/classwheels_1_1ordered_timer.html">orderedTimer</a></li><li class="navelem"><a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="../../dc/ddd/structwheels_1_1ordered_timer_1_1st_timer_item-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">wheels::orderedTimer::stTimerItem结构体 参考</div></div>
</div><!--header-->
<div class="contents">

<p>计时器定义  
 <a href="#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a>&gt;</code></p>
<div class="dynheader">
类 wheels::orderedTimer::stTimerItem 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d1/d0e/structwheels_1_1ordered_timer_1_1st_timer_item__inherit__graph.png" border="0" usemap="#awheels_1_1ordered_timer_1_1st_timer_item_inherit__map" alt="Inheritance graph"/></div>
<map name="awheels_1_1ordered_timer_1_1st_timer_item_inherit__map" id="awheels_1_1ordered_timer_1_1st_timer_item_inherit__map">
<area shape="rect" title="计时器定义" alt="" coords="5,139,205,709"/>
<area shape="rect" title=" " alt="" coords="21,5,189,91"/>
<area shape="poly" title=" " alt="" coords="108,105,108,139,103,139,103,105"/>
</map>
</div>
<div class="dynheader">
wheels::orderedTimer::stTimerItem 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d3/d0d/structwheels_1_1ordered_timer_1_1st_timer_item__coll__graph.png" border="0" usemap="#awheels_1_1ordered_timer_1_1st_timer_item_coll__map" alt="Collaboration graph"/></div>
<map name="awheels_1_1ordered_timer_1_1st_timer_item_coll__map" id="awheels_1_1ordered_timer_1_1st_timer_item_coll__map">
<area shape="rect" title="计时器定义" alt="" coords="5,139,205,709"/>
<area shape="rect" title=" " alt="" coords="21,5,189,91"/>
<area shape="poly" title=" " alt="" coords="108,105,108,139,103,139,103,105"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ae2bc5cbc2e1899d70eef4b0fa77eb5c2" id="r_ae2bc5cbc2e1899d70eef4b0fa77eb5c2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae2bc5cbc2e1899d70eef4b0fa77eb5c2">stTimerItem</a> (uint64_t t, uint32_t id, bool one_shot=false)</td></tr>
<tr class="separator:ae2bc5cbc2e1899d70eef4b0fa77eb5c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae034ef2f0fb9bec15e733ff9715d2ed9" id="r_ae034ef2f0fb9bec15e733ff9715d2ed9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae034ef2f0fb9bec15e733ff9715d2ed9">stTimerItem</a> (uint64_t t, uint32_t id, std::shared_ptr&lt; <a class="el" href="../../d4/ded/classwheels_1_1ordered_timer.html">orderedTimer</a> &gt; mgr, bool one_shot=false)</td></tr>
<tr class="separator:ae034ef2f0fb9bec15e733ff9715d2ed9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a599c4f1b59861d7645b208c5da3cbbd5" id="r_a599c4f1b59861d7645b208c5da3cbbd5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a599c4f1b59861d7645b208c5da3cbbd5">stTimerItem</a> (const <a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a> &amp;b)</td></tr>
<tr class="separator:a599c4f1b59861d7645b208c5da3cbbd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a042cc5d0a5c580ee1458dae4a4eed990" id="r_a042cc5d0a5c580ee1458dae4a4eed990"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a042cc5d0a5c580ee1458dae4a4eed990">stTimerItem</a> (<a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a> &amp;&amp;b)</td></tr>
<tr class="separator:a042cc5d0a5c580ee1458dae4a4eed990"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a67bac273df9c638ce0f3b32f96d217" id="r_a0a67bac273df9c638ce0f3b32f96d217"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0a67bac273df9c638ce0f3b32f96d217">operator=</a> (const <a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a> &amp;b)</td></tr>
<tr class="separator:a0a67bac273df9c638ce0f3b32f96d217"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf3fde0133e44ad0f5da08479d047a58" id="r_adf3fde0133e44ad0f5da08479d047a58"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#adf3fde0133e44ad0f5da08479d047a58">operator=</a> (<a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a> &amp;&amp;b)</td></tr>
<tr class="separator:adf3fde0133e44ad0f5da08479d047a58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a460419ab57928b16fbfac4b940ff70f1" id="r_a460419ab57928b16fbfac4b940ff70f1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a460419ab57928b16fbfac4b940ff70f1">operator()</a> (std::function&lt; void() &gt; func)</td></tr>
<tr class="memdesc:a460419ab57928b16fbfac4b940ff70f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加回调函数操作  <br /></td></tr>
<tr class="separator:a460419ab57928b16fbfac4b940ff70f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab738abf5c78afe6db2c7bfc9fbfbae3a" id="r_ab738abf5c78afe6db2c7bfc9fbfbae3a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab738abf5c78afe6db2c7bfc9fbfbae3a">on</a> (std::function&lt; void() &gt; func)</td></tr>
<tr class="separator:ab738abf5c78afe6db2c7bfc9fbfbae3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a1520d075154a47e45ec7624641674b" id="r_a9a1520d075154a47e45ec7624641674b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9a1520d075154a47e45ec7624641674b">start</a> (bool sw)</td></tr>
<tr class="memdesc:a9a1520d075154a47e45ec7624641674b"><td class="mdescLeft">&#160;</td><td class="mdescRight">启动计时器或者关闭计时器  <br /></td></tr>
<tr class="separator:a9a1520d075154a47e45ec7624641674b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:aefcd9a0a370ca95c37da2bfa2414aa0a" id="r_aefcd9a0a370ca95c37da2bfa2414aa0a"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aefcd9a0a370ca95c37da2bfa2414aa0a">m_id</a></td></tr>
<tr class="separator:aefcd9a0a370ca95c37da2bfa2414aa0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f3bc796ececffd2605ada203e8c3d6a" id="r_a8f3bc796ececffd2605ada203e8c3d6a"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8f3bc796ececffd2605ada203e8c3d6a">m_abs_tick</a></td></tr>
<tr class="separator:a8f3bc796ececffd2605ada203e8c3d6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e554f63565f3255151a689c8a715d7d" id="r_a7e554f63565f3255151a689c8a715d7d"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7e554f63565f3255151a689c8a715d7d">m_rel_tick</a></td></tr>
<tr class="separator:a7e554f63565f3255151a689c8a715d7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3b6859b5f9a352e157cddee2f42bef9" id="r_af3b6859b5f9a352e157cddee2f42bef9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af3b6859b5f9a352e157cddee2f42bef9">m_one_shot</a></td></tr>
<tr class="separator:af3b6859b5f9a352e157cddee2f42bef9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81e459956b6374fa2679bb7e19f063e5" id="r_a81e459956b6374fa2679bb7e19f063e5"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="../../d4/ded/classwheels_1_1ordered_timer.html">orderedTimer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a81e459956b6374fa2679bb7e19f063e5">pt_mgr__</a></td></tr>
<tr class="separator:a81e459956b6374fa2679bb7e19f063e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacd449d1db7359736073e5c39f29c7f8" id="r_aacd449d1db7359736073e5c39f29c7f8"><td class="memItemLeft" align="right" valign="top">std::function&lt; void() &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aacd449d1db7359736073e5c39f29c7f8">m_cb</a></td></tr>
<tr class="separator:aacd449d1db7359736073e5c39f29c7f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>计时器定义 </p>

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00073">73</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ae2bc5cbc2e1899d70eef4b0fa77eb5c2" name="ae2bc5cbc2e1899d70eef4b0fa77eb5c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2bc5cbc2e1899d70eef4b0fa77eb5c2">&#9670;&#160;</a></span>stTimerItem() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">orderedTimer::stTimerItem::stTimerItem </td>
          <td>(</td>
          <td class="paramtype">uint64_t</td>          <td class="paramname"><span class="paramname"><em>t</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t</td>          <td class="paramname"><span class="paramname"><em>id</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>one_shot</em></span><span class="paramdefsep"> = </span><span class="paramdefval">false</span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../dc/de5/timer_8cpp_source.html">timer.cpp</a> 第 <a class="el" href="../../dc/de5/timer_8cpp_source.html#l00083">83</a> 行定义.</p>

</div>
</div>
<a id="ae034ef2f0fb9bec15e733ff9715d2ed9" name="ae034ef2f0fb9bec15e733ff9715d2ed9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae034ef2f0fb9bec15e733ff9715d2ed9">&#9670;&#160;</a></span>stTimerItem() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">orderedTimer::stTimerItem::stTimerItem </td>
          <td>(</td>
          <td class="paramtype">uint64_t</td>          <td class="paramname"><span class="paramname"><em>t</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t</td>          <td class="paramname"><span class="paramname"><em>id</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="../../d4/ded/classwheels_1_1ordered_timer.html">orderedTimer</a> &gt;</td>          <td class="paramname"><span class="paramname"><em>mgr</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>one_shot</em></span><span class="paramdefsep"> = </span><span class="paramdefval">false</span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../dc/de5/timer_8cpp_source.html">timer.cpp</a> 第 <a class="el" href="../../dc/de5/timer_8cpp_source.html#l00087">87</a> 行定义.</p>

</div>
</div>
<a id="a599c4f1b59861d7645b208c5da3cbbd5" name="a599c4f1b59861d7645b208c5da3cbbd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a599c4f1b59861d7645b208c5da3cbbd5">&#9670;&#160;</a></span>stTimerItem() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">wheels::orderedTimer::stTimerItem::stTimerItem </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>b</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00085">85</a> 行定义.</p>

</div>
</div>
<a id="a042cc5d0a5c580ee1458dae4a4eed990" name="a042cc5d0a5c580ee1458dae4a4eed990"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a042cc5d0a5c580ee1458dae4a4eed990">&#9670;&#160;</a></span>stTimerItem() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">wheels::orderedTimer::stTimerItem::stTimerItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a> &amp;&amp;</td>          <td class="paramname"><span class="paramname"><em>b</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00094">94</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ab738abf5c78afe6db2c7bfc9fbfbae3a" name="ab738abf5c78afe6db2c7bfc9fbfbae3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab738abf5c78afe6db2c7bfc9fbfbae3a">&#9670;&#160;</a></span>on()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void wheels::orderedTimer::stTimerItem::on </td>
          <td>(</td>
          <td class="paramtype">std::function&lt; void() &gt;</td>          <td class="paramname"><span class="paramname"><em>func</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00126">126</a> 行定义.</p>

</div>
</div>
<a id="a460419ab57928b16fbfac4b940ff70f1" name="a460419ab57928b16fbfac4b940ff70f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a460419ab57928b16fbfac4b940ff70f1">&#9670;&#160;</a></span>operator()()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void wheels::orderedTimer::stTimerItem::operator() </td>
          <td>(</td>
          <td class="paramtype">std::function&lt; void() &gt;</td>          <td class="paramname"><span class="paramname"><em>func</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>添加回调函数操作 </p>

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00125">125</a> 行定义.</p>

</div>
</div>
<a id="a0a67bac273df9c638ce0f3b32f96d217" name="a0a67bac273df9c638ce0f3b32f96d217"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a67bac273df9c638ce0f3b32f96d217">&#9670;&#160;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a> &amp; wheels::orderedTimer::stTimerItem::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>b</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00104">104</a> 行定义.</p>

</div>
</div>
<a id="adf3fde0133e44ad0f5da08479d047a58" name="adf3fde0133e44ad0f5da08479d047a58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf3fde0133e44ad0f5da08479d047a58">&#9670;&#160;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a> &amp; wheels::orderedTimer::stTimerItem::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../df/dca/structwheels_1_1ordered_timer_1_1st_timer_item.html">stTimerItem</a> &amp;&amp;</td>          <td class="paramname"><span class="paramname"><em>b</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00113">113</a> 行定义.</p>

</div>
</div>
<a id="a9a1520d075154a47e45ec7624641674b" name="a9a1520d075154a47e45ec7624641674b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a1520d075154a47e45ec7624641674b">&#9670;&#160;</a></span>start()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void orderedTimer::stTimerItem::start </td>
          <td>(</td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>sw</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>启动计时器或者关闭计时器 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">sw[</td><td>I ], true 启动计时器，false关闭计时器 <br  />
 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../dc/de5/timer_8cpp_source.html">timer.cpp</a> 第 <a class="el" href="../../dc/de5/timer_8cpp_source.html#l00092">92</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a8f3bc796ececffd2605ada203e8c3d6a" name="a8f3bc796ececffd2605ada203e8c3d6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f3bc796ececffd2605ada203e8c3d6a">&#9670;&#160;</a></span>m_abs_tick</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t wheels::orderedTimer::stTimerItem::m_abs_tick</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00076">76</a> 行定义.</p>

</div>
</div>
<a id="aacd449d1db7359736073e5c39f29c7f8" name="aacd449d1db7359736073e5c39f29c7f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aacd449d1db7359736073e5c39f29c7f8">&#9670;&#160;</a></span>m_cb</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::function&lt; void () &gt; wheels::orderedTimer::stTimerItem::m_cb</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00081">81</a> 行定义.</p>

</div>
</div>
<a id="aefcd9a0a370ca95c37da2bfa2414aa0a" name="aefcd9a0a370ca95c37da2bfa2414aa0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefcd9a0a370ca95c37da2bfa2414aa0a">&#9670;&#160;</a></span>m_id</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t wheels::orderedTimer::stTimerItem::m_id</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00075">75</a> 行定义.</p>

</div>
</div>
<a id="af3b6859b5f9a352e157cddee2f42bef9" name="af3b6859b5f9a352e157cddee2f42bef9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3b6859b5f9a352e157cddee2f42bef9">&#9670;&#160;</a></span>m_one_shot</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wheels::orderedTimer::stTimerItem::m_one_shot</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00078">78</a> 行定义.</p>

</div>
</div>
<a id="a7e554f63565f3255151a689c8a715d7d" name="a7e554f63565f3255151a689c8a715d7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e554f63565f3255151a689c8a715d7d">&#9670;&#160;</a></span>m_rel_tick</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t wheels::orderedTimer::stTimerItem::m_rel_tick</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00077">77</a> 行定义.</p>

</div>
</div>
<a id="a81e459956b6374fa2679bb7e19f063e5" name="a81e459956b6374fa2679bb7e19f063e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81e459956b6374fa2679bb7e19f063e5">&#9670;&#160;</a></span>pt_mgr__</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="../../d4/ded/classwheels_1_1ordered_timer.html">orderedTimer</a> &gt; wheels::orderedTimer::stTimerItem::pt_mgr__</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">mutable</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a> 第 <a class="el" href="../../df/d05/timer_8hpp_source.html#l00080">80</a> 行定义.</p>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>include/<a class="el" href="../../df/d05/timer_8hpp_source.html">timer.hpp</a></li>
<li>src/<a class="el" href="../../dc/de5/timer_8cpp_source.html">timer.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
